import { RouteRecordRaw } from "vue-router";
// 首页模块
const router: Array<RouteRecordRaw> = [
    {
        path: "/supplier",
        name: "supplier",
        redirect: "/supplier/index",
        component: () => import("@/layout/supplierIndex.vue"),
        meta: {
            title: "首页",
        },
        children: [
            {
                path: "/supplier/index",
                component: () => import("@/views/Supplier/index.vue"),
                meta: {
                    title: "首页",
                }
            },
            {
                path: "/supplier/shop",
                component: () => import("@/views/SupplierShop/index.vue"),
                meta: {
                    title: "全部商品",
                }
            }

        ]
    },

];

export default router;